/* Estilos del Footer Maps */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css");

/* Variables específicas para Footer Maps */
:root {
    --footer-maps-primary-blue: #044c8c;
    --footer-maps-dark-blue: #044090;
    --footer-maps-light-green: #74b42c;
    --footer-maps-dark-green: #7cbc34;
    --footer-maps-secondary-blue: #04a4dc;
    --footer-maps-light-gray: #f8f9fa;
    --footer-maps-dark-gray: #495057;
}

.footer-maps {
    position: relative;
    background: linear-gradient(to right, var(--footer-maps-primary-blue), var(--footer-maps-dark-blue));
    color: #fff;
    padding: 100px 0 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

/* Contenedor principal */
.footer-maps-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 10;
}

/* Secciones del footer */
.footer-maps-section {
    margin-bottom: 30px;
}

.footer-maps-section h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-maps-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--footer-maps-light-green);
    border-radius: 3px;
}

/* Sección de información */
.footer-maps-logo {
    margin-bottom: 20px;
}

.footer-maps-logo h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1;
}

.footer-maps-logo p {
    font-size: 1.2rem;
    color: var(--footer-maps-light-green);
    margin: 0;
}

.footer-maps-desc {
    margin-bottom: 20px;
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
}

.contact-maps-info p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.contact-maps-info i {
    color: var(--footer-maps-light-green);
    font-size: 1.1rem;
    margin-top: 3px;
}

/* Sección de enlaces */
.links-maps ul {
    list-style: none;
    padding: 0;
    columns: 2;
    column-gap: 30px;
}

.links-maps ul li {
    margin-bottom: 12px;
}

.links-maps ul li a {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.links-maps ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--footer-maps-light-green);
    transition: all 0.3s ease;
}

.links-maps ul li a:hover {
    opacity: 1;
    color: var(--footer-maps-light-green);
}

.links-maps ul li a:hover::after {
    width: 100%;
}

/* Sección social */
.social-maps-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.social-maps-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-maps-icon:hover {
    transform: translateY(-3px);
    background: var(--footer-maps-light-green);
    color: var(--footer-maps-primary-blue);
}

/* Newsletter */
.newsletter-maps h3 {
    margin-top: 30px;
}

.newsletter-maps-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-maps-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.9rem;
}

.newsletter-maps-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-maps-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-maps-form button {
    padding: 0 20px;
    border: none;
    background: var(--footer-maps-light-green);
    color: var(--footer-maps-primary-blue);
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-maps-form button:hover {
    background: #8BC34A;
}

/* Botón de Facebook News Maps */
.facebook-news-maps-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #1877f2;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(24, 119, 242, 0.3);
}

.facebook-news-maps-btn:hover {
    background: #0a5dc3;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(24, 119, 242, 0.4);
    color: white;
}

.facebook-news-maps-btn i {
    font-size: 1.2rem;
}

.newsletter-maps-form {
    margin-top: 15px;
}

/* Pie del footer */
.footer-maps-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-maps-bottom p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.footer-maps-legal {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-maps-legal a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-maps-legal a:hover {
    color: var(--footer-maps-light-green);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-maps {
        padding-top: 80px;
    }
    
    .links-maps ul {
        columns: 1;
    }
    
    .footer-maps-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .footer-maps-container {
        grid-template-columns: 1fr;
    }
    
    .contact-maps-info p {
        font-size: 0.85rem;
    }
    
    .social-maps-icons {
        justify-content: center;
    }
    
    .newsletter-maps-form {
        max-width: 100%;
    }
}